package com.jsm.tf.net.config;

import com.jsm.tf.net.protocol.serialize.HessianSerializer;
import com.jsm.tf.net.protocol.serialize.JsonSerializer;
import com.jsm.tf.net.protocol.serialize.KryoSerializer;
import com.jsm.tf.net.protocol.serialize.Serializer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class NettyServerConfig {
    @Bean
    public Serializer serializer() {
        return new JsonSerializer();
    }
}
